package com.github.chirspan.xaas.cfg.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2021-04-07 18:24:53
 * @Description: 应用配置
 */
@TableName(value = "xaas_cfg_app")
@Data
@ToString(callSuper = true)
public class CfgApp extends BaseModel {

    @ApiModelProperty(value = "应用编码")
    @TableField(value = "app_code")
    private String appCode;

    @ApiModelProperty(value = "应用名称")
    @TableField(value = "app_name")
    private String appName;

    @ApiModelProperty(value = "应用英文名")
    @TableField(value = "app_name_en")
    private String appNameEn;

    @ApiModelProperty(value = "应用缩写名称")
    @TableField(value = "app_abbr")
    private String appAbbr;

    @ApiModelProperty(value = "应用接口")
    @TableField(value = "app_api")
    private String appApi;

    @ApiModelProperty(value = "状态")
    @TableField(value = "status")
    private Boolean status;

    @ApiModelProperty(value = "版本")
    @TableField(value = "app_version")
    private String appVersion;

    @ApiModelProperty(value = "描述")
    @TableField(value = "memo")
    private String memo;

    @TableField(value = "sso_app_id")
    private String ssoAppId;

}